package com.gree.elasticsearch.security.exception;


import org.springframework.security.core.AuthenticationException;

public class JwtEmptyException extends AuthenticationException {
    private String message = "please get a token, then start your login";

    public JwtEmptyException() {
        super("please get a token, then start your login");
    }

    @Override
    public String getMessage() {
        return message;
    }
}
